<template>
    <div>
        <p>test</p>
        <p>test</p>
        <p>test</p>
        <p>test</p>
        <p>test</p>
        <p>test</p>
        <p>test</p>
    </div>
</template>
<script setup lang="ts">


defineExpose({
    async confirm() {
        console.log("confirm inner")
        return await new Promise((resolve) => {
            setTimeout(() => {
                resolve(true)
            }, 2000)
        })
    },
    cancel() {
        console.log("cancel inner")
        return true
    }
})
</script>

<style scoped lang="scss">

</style>